﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Super.Entities;
using Super.Infrastructure;

namespace Super.DomainService
{
    public class DiyItem
    {
        public int ProductId { get; set; }
        public decimal Price { get; set; }
        public string ProductName { get; set; }
        public int CategoryId { get; set; }
        public int Warrant { get; set; }
    }

    public class DiyService : BaseService<DiyComponentsList>
    {
        private readonly DbContextAdapter _adp;
        private readonly BaseService<DiyComponentsList> _diycomponentService;
        public DiyService(DbContextAdapter adp)
            : base(adp)
        {
            _adp = adp;
            _diycomponentService = new BaseService<DiyComponentsList>(_adp);
        }
    }
}
